<?php

/**
 * 
 */
class login extends form {
  var $params = array();
  public function getDefaults() {
    $ret = parent::getDefaults();
    $ret = array_merge($ret,array(
       'isLoggued'  => commun::isLogged()
      ,'membre'     => commun::getLoggedMembre()
    ));
    
    return $ret;
  }
  
  public function __construct($params) {
    //parent::__construct($params);
    $this->params = array_merge($this->getDefaults(),$params);
  }
  
  public function _render() {
    commun::setSmartyCaching(false);
    $ret = parent::_render();
    commun::setSmartyCaching(true);
    return $ret;
  }
  
  
}

